$().ready(function(){
  $("#captchaEl").html("<img src='../system/CaptchaImage.php' title='captcha' id='captcha' /><img src='../resoursces/img/icons/refresh.png' onclick='refreshCaptcha();' class='click' />");
});

function refreshCaptcha()
{
	$("#captcha").attr("src","../system/CaptchaImage.php?" + (new Date().getDate()*Math.random()));
}